package com.qianchang.microfinance.view.credit;


import android.content.Context;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.qianchang.microfinance.R;
import com.qianchang.microfinance.view.base.BaseFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * 攒信用界面
 */
public class AccumulateCreditFragment extends BaseFragment {
    private static AccumulateCreditFragment instance;
    @BindView(R.id.recycler_data_info)
    RecyclerView recyclerDataInfo;
    Unbinder unbinder;


    public AccumulateCreditFragment() {
    }

    public static AccumulateCreditFragment getInstance() {
        if (null == instance) {
            synchronized (AccumulateCreditFragment.class) {
                if (null == instance) {
                    instance = new AccumulateCreditFragment();
                }
            }
        }
        return instance;
    }


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (getArguments() != null) {
        }
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_accumulate_credit, container, false);
        unbinder = ButterKnife.bind(view);
        return view;
    }

    @Override
    protected View onRootViewCreate(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return null;
    }


    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
    }

    @Override
    public void onDetach() {
        super.onDetach();
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }


}
